<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
<h:head>
	<title>Esse é o meu titulo</title>
	<meta charset="UTF-8" content=""></meta>
	<link rel="stylesheet"
		href="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css"></link>
	<script
		src="http://netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
</h:head>

<h:body>
	<div class="container">
		<div class="row">
			<div class="col-md-12">
				<div class="well">
					<h2>Formulário de Cadastro</h2>
				</div>
			</div>
		</div>

		<div class="row">
			<div class="col-md-12">
				<h:form>
					<fieldset>
						<legend>Area de Cadastro</legend>
						<div class="row">
							<div class="col-md-4">
								<div class="form-group">
									<h:outputLabel value="Insira a sua Idade" for="txtIdade" />
									<h:inputText value="#{usuarioBean.idade}" id="txtIdade"
										class="form-control" />
								</div>
							</div>

							<div class="col-md-8">
								<div class="form-group">
									<h:outputLabel value="Insira o seu Nome" for="txtNome" />
									<h:inputText value="#{usuarioBean.nome}" id="txtNome"
										class="form-control" />
								</div>
							</div>
						</div>
						<div class="row">
							<div class="col-md-12">
								<div class="form-group">
									<h:commandButton value="Enviar" />
								</div>
							</div>
						</div>
					</fieldset>
					<div class="row">
						<div class="col-md-12">
							<fieldset>
								<legend>Área de recebimento de dados</legend>
								<span>O nome do cliente é: <b>#{usuarioBean.nome}</b></span><br />
								<span>A idade do cliente é: <b>#{usuarioBean.idade}</b></span><br />
							</fieldset>
						</div>
					</div>
				</h:form>
			</div>
		</div>

		<div class="row" style="padding-top:45px;">
			<div class="col-md-12">
				<div class="well">Diretos reservados...</div>
			</div>
		</div>
	</div>
</h:body>

</html>